package com.iwhalecloud.bss.kite.cucc.client.dto.pos;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import io.swagger.annotations.ApiModelProperty;

public class KitePosDTO implements Serializable {

    @ApiModelProperty("请求信息")
	private KitePosRequestDTO request;

    @ApiModelProperty("客户信息")
	private KitePosCustomerDTO customer;

	@ApiModelProperty("受理")
	private KitePosAcceptStaffDTO accept;

	@ApiModelProperty("经办人")
	private KitePosOperatorDTO operator;

	@ApiModelProperty("责任人")
	private KitePosResponsibleDTO responsible;

	@ApiModelProperty("发展人")
	private KitePosDeveloperDTO developer;

	@ApiModelProperty("联系人")
	private KitePosLinkmanDTO linkman;

	@ApiModelProperty("订单信息")
	private KitePosOrderDTO order;

	@ApiModelProperty("发票")
	private KitePosInvoiceDTO invoice;

	@ApiModelProperty("群组信息")
	private List<KitePosGroupDTO> groups;

	@ApiModelProperty("用户")
	private List<KitePosUserDTO> users;

	@ApiModelProperty("合同")
	private List<KitePosContractDTO> contract;

	@ApiModelProperty("折扣审批")
	private List<KitePosDiscountDTO> discount;

	@ApiModelProperty("账户")
	private List<KitePosAccountDTO> accounts;

	@ApiModelProperty("支付信息")
	private List<KitePosPaymentDTO> payments;

	@ApiModelProperty("配送信息")
	private List<KitePosDeliveryDTO> delivery;

	@ApiModelProperty("商品")
	private List<KitePosGoodsDTO> goods;

	private KitePosUseCustomerDTO useCustomer;

    @ApiModelProperty("用户群组关系")
    private List<KitePosRelationDTO> relations;

	public KitePosRequestDTO getRequest() {
		return request;
	}

	public void setRequest(KitePosRequestDTO request) {
		this.request = request;
	}

	public KitePosCustomerDTO getCustomer() {
		return customer;
	}

	public void setCustomer(KitePosCustomerDTO customer) {
		this.customer = customer;
	}

	public KitePosAcceptStaffDTO getAccept() {
		return accept;
	}

	public void setAccept(KitePosAcceptStaffDTO accept) {
		this.accept = accept;
	}

	public KitePosOperatorDTO getOperator() {
		return operator;
	}

	public void setOperator(KitePosOperatorDTO operator) {
		this.operator = operator;
	}

	public KitePosResponsibleDTO getResponsible() {
		return responsible;
	}

	public void setResponsible(KitePosResponsibleDTO responsible) {
		this.responsible = responsible;
	}

	public KitePosDeveloperDTO getDeveloper() {
		return developer;
	}

	public void setDeveloper(KitePosDeveloperDTO developer) {
		this.developer = developer;
	}

	public KitePosLinkmanDTO getLinkman() {
		return linkman;
	}

	public void setLinkman(KitePosLinkmanDTO linkman) {
		this.linkman = linkman;
	}

	public KitePosOrderDTO getOrder() {
		return order;
	}

	public void setOrder(KitePosOrderDTO order) {
		this.order = order;
	}

	public KitePosInvoiceDTO getInvoice() {
		return invoice;
	}

	public void setInvoice(KitePosInvoiceDTO invoice) {
		this.invoice = invoice;
	}

	public List<KitePosGroupDTO> getGroups() {
		return groups;
	}

	public void setGroups(List<KitePosGroupDTO> groups) {
		this.groups = groups;
	}

	public List<KitePosUserDTO> getUsers() {
		return users;
	}

	public void setUsers(List<KitePosUserDTO> users) {
		this.users = users;
	}

	public List<KitePosContractDTO> getContract() {
		return contract;
	}

	public void setContract(List<KitePosContractDTO> contract) {
		this.contract = contract;
	}

	public List<KitePosDiscountDTO> getDiscount() {
		return discount;
	}

	public void setDiscount(List<KitePosDiscountDTO> discount) {
		this.discount = discount;
	}

	public List<KitePosAccountDTO> getAccounts() {
		return accounts;
	}

	public void setAccounts(List<KitePosAccountDTO> accounts) {
		this.accounts = accounts;
	}

	public List<KitePosPaymentDTO> getPayments() {
		return payments;
	}

	public void setPayments(List<KitePosPaymentDTO> payments) {
		this.payments = payments;
	}

	public List<KitePosDeliveryDTO> getDelivery() {
	    if (delivery == null) {
	        delivery = new ArrayList<>();
        }
		return delivery;
	}

	public void setDelivery(List<KitePosDeliveryDTO> delivery) {
		this.delivery = delivery;
	}

	public List<KitePosGoodsDTO> getGoods() {
		if (goods == null) {
			goods = new ArrayList<>();
		}
		return goods;
	}

	public void setGoods(List<KitePosGoodsDTO> goods) {
		this.goods = goods;
	}

    public KitePosUseCustomerDTO getUseCustomer() {
        return useCustomer;
    }

    public void setUseCustomer(KitePosUseCustomerDTO useCustomer) {
        this.useCustomer = useCustomer;
    }

    public List<KitePosRelationDTO> getRelations() {
        return relations;
    }

    public void setRelations(List<KitePosRelationDTO> relations) {
        this.relations = relations;
    }
}
